package net.xdclass.service;

import net.xdclass.model.CouponRecordDO;
import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.vo.CouponRecordVO;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cx
 * @since 2023-07-11
 */
public interface CouponRecordService extends IService<CouponRecordDO> {
    /**
     * 分页查询领劵记录
     * @param page
     * @param size
     * @return
     */
    Map<String,Object> page(int page, int size);

    /**
     * 根据id查询详情
     * @param recordId
     * @return
     */
    CouponRecordVO findById(long recordId);
}
